﻿using B.X.Rabbit.Domain.Autofac;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace B.X.Rabbit.Domain.屠宰
{
    /// <summary>
    /// 屠宰信息
    /// </summary>
    public class Slaughters:BaseFieId
    {
        /// <summary>
        /// 屠宰信息ID
        /// </summary>
        [Key]
        public int SlaughterId { get; set; }
        /// <summary>
        /// 屠宰批次
        /// </summary>
        public string? Batch { get; set; }
        /// <summary>
        /// 到厂均重(公斤)
        /// </summary>
        public int WeightToFactory { get; set; }
        /// <summary>
        /// 到厂时间
        /// </summary>
        public DateTime ArrivalTime { get; set; }
        /// <summary>
        /// 屠宰时间
        /// </summary>
        public DateTime SlaughterTime { get; set; }
        /// <summary>
        /// 是否删除
        /// </summary>
        public bool IsDeleted { get; set; } = false;
        /// <summary>
        /// 溯源ID
        /// </summary>
        public int TraceabilityId { get; set; }
    }
}
